package com.itheima;

public class Washing extends Electrical{
    //洗衣机类
   // 属性：品牌、型号、颜色、售价、电机类型[Motor type]、洗涤容量[Washing capacity]
    private String MotorType;
    private String WashingCapacity;

    public Washing() {
    }

    public Washing(String brand, String model, String colour, int price, String motorType, String washingCapacity) {
        super(brand, model, colour, price);
        MotorType = motorType;
        WashingCapacity = washingCapacity;
    }

    public String getMotorType() {
        return MotorType;
    }

    public void setMotorType(String motorType) {
        MotorType = motorType;
    }

    public String getWashingCapacity() {
        return WashingCapacity;
    }

    public void setWashingCapacity(String washingCapacity) {
        WashingCapacity = washingCapacity;
    }
}
